<?php
 include("UserIncludes/DbConfig.php");
$query="select * from adspace_landing_page where landingId='".$_REQUEST['id']."'" ;
$rec=mysql_fetch_array(mysql_query($query)) ;
//echo $_POST['info'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
			<html>
			<head>
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<title><?php echo $rec[pageTitle];?></title>
			<link rel="stylesheet" href="../css/style.css" type="text/css" />
			</head>
			
			<body>
		<form name="form1" method="POST">
		<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
	
		<?php
		if($rec[images]!="")
		{
		?>
		<tr>
			<td align="center">
			<img src="advertise_thumb/<?php echo $rec[images];?>">
			</td>
		</tr>
		<?php
		}
		?>
		<tr>
			<td align="center" style="padding-top:10px;">

				<font color="<?php echo $rec[headlineStyle];?>">
				<?php echo $rec[headline];?>
				</font>
				
			</td>
		</tr>

		<?php
		if($rec[images1]!="")
		{
		?>
		<tr>
			<td align="center">
			<img src="advertise_thumb/<?php echo $rec[images1];?>">
			</td>
		</tr>
		<?php
		}
		?>

		<tr>
			<td align="center" style="padding-top:10px;">

				<?php echo $rec[details];?>
				
			</td>
		</tr>

		
		</table>
		</form>

			</body>
			</html>